<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<script>
    const kuaizi=['dasd','fsfs','fsdfs']
    const dfsd=['dsdasd','1fsfs','3fsdfs']
    // 数组的合并
    const zuhe=kuaizi.concat(dfsd)
    const zuhe1=[...kuaizi,...dfsd]
    console.log(zuhe)
    console.log(zuhe1)
    // 数组的克隆
    const sanzhihua=['E','G','M']
    const syaye=[...sanzhihua]
    console.log(syaye)
    // 将伪数组转为真正的数组
    const divs=document.querySelectorAll('div')
    console.log(divs,typeof divs)
    const divarr=[...divs]
    console.log(divarr)
</script>
</body>
</html>
